package com.yowosoft.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yowosoft.dao.UserDao;
import com.yowosoft.model.User;
import com.yowosoft.service.UserService;

@Service
public class UserServiceImpl implements UserService{
	
	@Autowired
	private UserDao userDao;
	

	@Override
	public int register(User user) {
		return userDao.saveUser(user);
	}

}
